Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to extend the UI with an Java API #23772

Merged
merged 9 commits into from
Jan 22, 2024
Merged

Conversation

edewit
Copy link
Contributor

@edewit edewit commented Oct 6, 2023

Initial version of the API that enables java developers to extend the admin UI

@cypress
Copy link

cypress bot commented Oct 6, 2023

Passing run #10688 ↗︎

0 553 54 0 Flakiness 0

Details:

Merge a61d2c6 into 656e680...
Project: Keycloak Admin UI Commit: 38219d6255 ℹ️
Status: Passed Duration: 07:21 💡
Started: Jan 22, 2024 7:17 AM Ended: Jan 22, 2024 7:24 AM

Review all test suite changes for PR #23772 ↗︎

ghost

This comment was marked as outdated.

@ghost

This comment was marked as outdated.

ghost

This comment was marked as outdated.

@ghost

This comment was marked as outdated.

@hypery2k

This comment was marked as off-topic.

common/src/main/java/org/keycloak/common/Profile.java Outdated Show resolved Hide resolved
Comment on lines 2988 to 3001
clientsClientScopesHelp=The scopes associated with this resource.
searchItem=Search item
createItem=Create item
itemDelete=Delete item
itemDeleteConfirm=Are you sure you want to permanently delete the item
itemDeleteConfirmTitle=Delete item?
itemDeletedSuccess=The item has been deleted
itemDeleteError=Could not delete item: {{error}}
noItems=There are no items
noItemsInstructions=You haven't created any items in this realm. Create a item to get started.
itemSaveError=Error could not save item\! {{error}}
itemSaveSuccessful=Sucessful saved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't change this for this first version, but in the future a developer would want to use the actual name of the item.

So for instance, searchItem=Search item would become searchItem=Search {{itemName}}

This is very crude and there are still open issues that need to be worked out

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
@edewit edewit enabled auto-merge (squash) January 19, 2024 12:51
@edewit edewit merged commit 37790c7 into keycloak:main Jan 22, 2024
70 checks passed
@edewit edewit deleted the ui-ext-test branch January 23, 2024 13:00
ShefeeqPM pushed a commit to ShefeeqPM/keycloak that referenced this pull request Jan 27, 2024
* POC to see how we could extend the UI

This is very crude and there are still open issues that need to be worked out

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added saving option

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added list and recreate client form

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* add tab ui

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* integrate tabs

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* remove examples

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed error messages

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added Feature for ui customization

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: ShefeeqPM <86718986+ShefeeqPM@users.noreply.github.com>
@smandlavdiya
Copy link

Initial version of the API that enables java developers to extend the admin UI

I was trying to add a new tab on client but unable to figure out how would i get client scope when i save and add values with oncreate()
any suggestions would be good to start please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants